package com.dalin.framework.common.clazz;

import java.util.ArrayList;
import java.util.List;

import com.dalin.framework.common.utils.StringUtils;
import com.dalin.framework.common.PropertyConst;
/*****************************************************************************
 * @content: 类中引入包的类                                                                                                                    *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2009-10-03                                                     *
 * @modDate: 2010-05-11                                                     *
 * @version: 1.11                                                           *
 ****************************************************************************/
public class ImportList {
	private StringBuffer sb = new StringBuffer();
	
	public ImportList add(final String body) {
		if (StringUtils.isBlank(body)) return this;
		sb.append(PropertyConst.IMPORT_STR)
			.append(PropertyConst.SPACE).append(body)
			.append(PropertyConst.SEMICOLON)
			.append(PropertyConst.LINE_SEPARATOR);
		return this;
	}
	
	public String toString() {
		return sb.toString();
	}
}
